{include file='seo/header.html'}
<span class="td4"> 

    <div class="botline"></div>
   
    <div class="form">
<form method="post" action="{geturl route='seoaddpage'}" id="registration-form">
       
    <div class="error"{if !$fp->hasError()} style="display: none"{/if}>
            Одно или несколько полей заполнены неверно. Проверьте, пожалуйста, 
            поля с ошибками и отправьте форму ещё раз.
        </div>
    
        <div class="row">
         
            <span class="td4" style="width:200px;padding-top: 5px;"><label for="form_name">Название:</label></span>
           <span class="td4" style="padding: 5px;">  
                <input type="text" id="form_name"  name="name" value="{$fp->name|escape}" />
            <br> {include file='lib/error.tpl' error=$fp->getError('name')}</span>
        </div>
          <div class="botline"></div>
        <div class="row">
         
            <span class="td4" style="width:200px;padding-top: 5px;"><label for="form_name">title:</label></span>
           <span class="td4" style="padding: 5px;">  
                <input type="text" id="form_name"  name="title" value="{$fp->title|escape}" />
            <br> {include file='lib/error.tpl' error=$fp->getError('title')}</span>
        </div>
          <div class="botline"></div>
         <div class="row">
            <span class="td4" style="width:200px;padding-top: 5px;"><label for="form_name">keywords:</label></span>
           <span class="td4" style="padding: 5px;">  
                <input type="text" id="form_name"  name="keywords" value="{$fp->keywords|escape}" />
            <br> {include file='lib/error.tpl' error=$fp->getError('keywords')}</span>
        </div>
        <div class="botline"></div>
        <div class="row">
            <span class="td4" style="width:200px;padding-top: 5px;"><label for="form_name">decsription:</label></span>
           <span class="td4" style="padding: 5px;">  
                <input type="text" id="form_name"  name="description" value="{$fp->description|escape}" />
            <br> {include file='lib/error.tpl' error=$fp->getError('description')}</span>
        </div>
        <div class="botline"></div>
        <div class="row">
            <span class="td4" style="width:200px;padding-top: 5px;"><label for="form_name">h1:</label></span>
           <span class="td4" style="padding: 5px;">  
                <input type="text" id="form_name"  name="h1" value="{$fp->h1|escape}" />
            <br> {include file='lib/error.tpl' error=$fp->getError('h1')}</span>
        </div>
        <div class="botline"></div>
        <div class="row">
            <span class="td4" style="width:200px;padding-top: 5px;"><label for="form_name">Содержимое:</label></span>
           <span class="td4" style="padding: 5px;">  
               <textarea name='content' cols="60" rows='15'>{$fp->content|escape}</textarea>
            <br> {include file='lib/error.tpl' error=$fp->getError('content')}</span>
        </div>
        <div class="botline"></div>
       <div class="row">
            <span class="td4" style="width:200px;padding-top: 5px;"><label for="form_name">Ссылка:</label></span>
           <span class="td4" style="padding: 5px;">  
                <input type="text" id="form_name"  name="alias" value="{$fp->alias|escape}" />
            <br> {include file='lib/error.tpl' error=$fp->getError('alias')}</span>
        </div>
        <div class="botline"></div>
        <div class="row">
            <span class="td4" style="width:200px;padding-top: 5px;"><label for="form_name">Отображать в меню:</label></span>
           <span class="td4" style="padding: 5px;">  
                <input type="checkbox" id="form_name"  name="displayInMenu" {if $fp->displayInMenu == 1} checked="checked"{/if} />
            </span>
        </div>
        <div class="botline"></div>
        
        <div class="submit">
            <input type="submit" value="Сохранить" /></div>
    </form>
    </div>
</span> 
{include file='seo/footer.html' menu='pages'}